package com.iursp.domain.model.role;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.iursp.domain.model.BaseModel;

@Entity
@Table(name="auth_role")
public class Role extends BaseModel{

	private static final long serialVersionUID = -3337602589897693627L;
	
	/**
	 * 角色名称
	 */
	@Column(name = "role_name")
	private String roleName;
	/**
	 * 所属平台
	 */
	@Column(name = "platform_refid")
	private String platformRefid;
	/**
	 * 角色编码
	 */
	@Column(name = "role_code")
	private String roleCode;
	/**
	 * 角色描述
	 */
	@Column(name = "role_desc")
	private String roleDesc;
	/**
	 * 角色rowKey
	 */
	@Column(name = "role_row_key")
	private String roleRowKey;
	/**
	 * 标示是否有效
	 */
	@Column(name = "active")
	private Boolean active = Boolean.TRUE;
	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	public String getPlatformRefid() {
		return platformRefid;
	}
	public void setPlatformRefid(String platformRefid) {
		this.platformRefid = platformRefid;
	}
	public String getRoleCode() {
		return roleCode;
	}
	public void setRoleCode(String roleCode) {
		this.roleCode = roleCode;
	}
	public String getRoleDesc() {
		return roleDesc;
	}
	public void setRoleDesc(String roleDesc) {
		this.roleDesc = roleDesc;
	}
	public String getRoleRowKey() {
		return roleRowKey;
	}
	public void setRoleRowKey(String roleRowKey) {
		this.roleRowKey = roleRowKey;
	}
	public Boolean getActive() {
		return active;
	}
	public void setActive(Boolean active) {
		this.active = active;
	}

}
